package com.sunshine.lnuplus.utils;

import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import android.provider.MediaStore;

import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;

import com.sunshine.lnuplus.view.BaseActivity;

public class PermissionHelper {

    public static void requestPermission(Activity activity, String[] permission, int tag) {
        if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) ActivityCompat.requestPermissions(activity,permission,tag);
    }
}
